package java面向对象.创建对象;

//创建对象
public class text1 {
    public static void main(String[] args) {
        Student stu1 = new Student();
        stu1.name = "张三";
        stu1.age = 18;
        stu1.sex = "男";
        stu1.study();
    }
}
